package com.mtnz.njk.Mapper;

import com.mtnz.njk.entity.OrderInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface OrderManagerMapper {
    // 查询订单管理订单信息
    List<OrderInfoEntity> getOrderInfos(@Param("customerId") String customerId,@Param("userIds") List<String> userIds,@Param("orderStatuses") List<String> orderStatuses, @Param("payMethod") String payMethod, @Param("key") String key, @Param("beginTime") String beginTime, @Param("endTime") String endTime) throws Exception;

    // 订单Excel导出
    List<HashMap<String,Object>> orderExcel(@Param("beginTime") String beginTime,@Param("endTime") String endTime) throws Exception;
}
